using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;

namespace Blog.Repository;


/// <summary>
/// 权限接口
///</summary>
[SugarTable("ad_permission_api")]
public class AdPermissionApiEntity: EntityAdd
{

    /// <summary>
    /// 主键Id
    ///</summary>
    [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
    public long Id { get; set; }
    
    /// <summary>
    /// 权限Id
    ///</summary>
    [SugarColumn(ColumnName = "PermissionId")]
    public long PermissionId { get; set; }
    
    /// <summary>
    /// 接口Id
    ///</summary>
    [SugarColumn(ColumnName = "ApiId")]
    public long ApiId { get; set; }
    }
